#{extends 'main.html' /} #{set title:'YouGo with Play Framework!' /}

<div id="header">
	<h2>Bonjour ${fullname}</h2> &nbsp; 
	<a id="changepassword" class="button" href="#">&{'header.changepassword'}</a>
	&nbsp; 
	<a id="logout" class="button" href="@{Secure.logout()}">&{'header.logout'}</a>
</div>

<div id="tabs">
	<ul>
		<li><a href="@{MyRequests.index()}">&{'tabs.myrequests'}</a>
		</li>
		<li><a href="@{NewRequest.index()}">&{'tabs.newrequest'}</a>
		</li>
		<li><a href="@{ValidRequests.index()}">&{'tabs.validrequests'}</a>
		</li>
		<li><a href="@{ManageUser.index()}">&{'tabs.usermanage'}</a>
		</li>
		<li><a href="@{ManageUserType.index()}">&{'tabs.manageusertype'}</a>
		</li>
		<li><a href="@{ManageRequestType.index()}">&{'tabs.managerequesttype'}</a>
		</li>
	</ul>
</div>

<div id="dialog-form" title="&{'header.changepassword'}">
	<p class="validateTips"></p>
	<form>
		<fieldset>
			<label for="old">&{'form.oldpassword'} :</label> <input type="text"
				name="old" id="old" class="text ui-widget-content ui-corner-all" />
			<label for="new">&{'form.newpassword'} :</label> <input type="text"
				name="new" id="new" value=""
				class="text ui-widget-content ui-corner-all" /> <label
				for="password">&{'form.confirmpassword'} :</label> <input
				type="password" name="password" id="password" value=""
				class="text ui-widget-content ui-corner-all" />
		</fieldset>
	</form>
</div>

